home *** CD-ROM | disk | FTP | other *** search
- ---------
- TAR NOTES
- ---------
-
- Tar is a way of bundling files into an archive for storage and
- transport. Note that tar does not perform compression. It only
- binds files together in one common file. Naturally tar archives
- have a '.tar' suffix:
-
- foobar.tar /* an ordinary tar archive */
-
-
- Often tar archives are compressed with a separate program such as
- GNU gzip or compress. Normally under Unix a tar file that is
- compressed will have a '.Z' suffix appended. A gzipped file will
- usually have a '.gz' suffix appended:
-
- foobar.tar.Z /* a compressed tar file */
- foobar.tar.gz /* a gzipped tar file */
-
- Because of the 8.3 limit of MSDOS file names, these files can't
- be represented under msdos exactly. Usually the file names are
- modified:
- foobar.taz /* a compressed tar file */
- foobar.tgz /* a gzipped tar file */
-
- In order to extract these files you will have to first uncompress
- them, then you must un-tar them. The best program for uncompressing
- is GNU gzip which can handle either compressed or gzipped files
- automatically. Get a copy of gzip for DOS if you find yourself
- needing to extract compressed tar files.
-
- The recipe for extraction follows:
-
- gzip -d foobar.taz
- tar xvf foobar.tar
-
- That two step process will burst the archive for you. Note that
- the 'xvf' command tells tar to extract. If the archive is not
- compressed then you can skip the 'gzip' step above and proceed
- directly to extraction. Archives with suffixes ending in 'tar'
- are not compressed. To create a tar archive you must use 'cvf':
-
- tar cvf foobar.tar test.c test.h test.man
-
- The above command will store test.h, test.c, and test.man in one
- archive called foobar.tar. Gzip can then be used to compress it
- if you wish. If you wish to list the contents of a tar archive
- use the 'tvf' option to tell you what is inside:
-
- tar tvf foobar.tar
-
- See the enclosed file tar.man for a summary. If you wish to
- learn more about Unix topics, install Linux for some hands-on
- experience. Linux is a multi-tasking 32 bit freeware version of
- the Unix operating system. It is available via BBS, CD-ROM, and
- FTP. Read the enclosed UNIX.TXT for more information.
-
-
-